<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<th:block th:fragment="common_css">
    <!-- Common styles -->
    <link type="text/css" rel="stylesheet" th:href="@{/js/jquery-ui-1.9.2.custom/css/redmond/jquery-ui-1.9.2.custom.min.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/js/jquery-easyui-1.3.3/themes/default/easyui.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/js/jquery-easyui-1.3.3/themes/icon.css}">
</th:block>

<th:block th:fragment="common_js">
    <!-- Common scripts -->
    <script type="text/javascript" th:src="@{/js/jquery/jquery-1.8.3.min.js}"/>
    <script type="text/javascript" th:src="@{/js/jquery/jquery.json-2.4.js}"/>
    <script type="text/javascript" th:src="@{/js/jquery-ui-1.9.2.custom/js/jquery-ui-1.9.2.custom.min.js}"/>
    <script type="text/javascript" th:src="@{/js/jquery-ui-1.9.2.custom/js/jquery.ui.datepicker-zh-CN.js}"/>
    <script type="text/javascript" th:src="@{/js/jquery-easyui-1.3.3/jquery.easyui.min.js}"/>
    <script type="text/javascript" th:src="@{/js/json2.js}"></script>
    <script type="text/javascript" th:src="@{/js/easyui-lang-zh_CN.js}"></script>
</th:block>

<th:block th:fragment="global_js">
    <script type="text/javascript" th:inline="javascript">
        /*<![CDATA[*/
        const basePath = [[${#httpServletRequest.getScheme() + "://" + #httpServletRequest.getServerName() + ":" + #httpServletRequest.getServerPort() + #httpServletRequest.getContextPath()}]];
        /*]]>*/
    </script>

    <script>
        let url = "[[${#httpServletRequest.getScheme() + '://' + #httpServletRequest.getServerName() + ':' + #request.getServerPort()}]]";
    </script>
</th:block>